package com.hzh.blog.user.action;

import org.apache.struts2.convention.annotation.Namespace;

import com.hzh.blog.common.action.BaseAction;
import com.hzh.blog.common.manager.CommonManager;
import com.hzh.blog.user.model.User;
import com.opensymphony.xwork2.Action;
import com.opensymphony.xwork2.ModelDriven;

@Namespace(value="/user")
public class UserAction extends BaseAction implements ModelDriven<User> {

	private static final long serialVersionUID = 1L;
	
	public String toIndex() throws Exception {
		System.out.println("=======================user index===========================");
		return Action.INPUT;
	}

	public User getModel() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public CommonManager getCommonManager() {
		return null;
	}
	
}
